package pit.com.ordermobilesystem.http;

import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.HttpURLConnection;
import java.net.URL;

import org.apache.http.NameValuePair;
import org.json.JSONException;




public interface HttpApi {

	abstract public String doHttpPost(String url,  String data) throws HttpApiException, IOException,JSONException 
;
	abstract public String doHttpGet(String url) throws HttpApiException, IOException,JSONException;
	abstract public String doHttpUploadFile(String sUrl,  String filePath) throws HttpApiException ;
	abstract public String doHttpRequestMultipart(String sUrl,String data,String[] path_images) throws IOException ;
}
